home *** CD-ROM | disk | FTP | other *** search
/ Multimedia Jumpstart / Multimedia Microsoft Jumpstart Version 1.1a (Microsoft).BIN / develpmt / source / snapshot / makefile < prev    next >
Encoding:
Makefile  |  1992-09-12  |  1.4 KB  |  61 lines

  1. # SnapShot makefile
  2. #              Sample Code from the Microsoft Multimedia Group
  3. #
  4. # This makefile is in Microsoft NMAKE format.
  5. #
  6. # make        builds SnapShot.exe, the "SnapShot" application
  7. # make clean    deletes files that can be regenerated by rebuilding SnapShot.exe
  8. #
  9. #
  10. #     (C) Copyright Microsoft Corp. 1991.  All rights reserved.
  11. #
  12. #     You have a royalty-free right to use, modify, reproduce and 
  13. #     distribute the Sample Files (and/or any modified version) in 
  14. #     any way you find useful, provided that you agree that 
  15. #     Microsoft has no warranty obligations or liability for any 
  16. #     Sample Application Files which are modified. 
  17.  
  18. NAME = SnapShot
  19. CC   = cl -c -W2 -AM -G2sw -Zip -Od -DDEBUG
  20. #CC   = cl -c -W2 -AM -G2sw -Zip -Oas
  21. ASM  = masm
  22. LINK = link /NOE/NOD/CO/LI/MAP
  23. LIBS = libw mlibcew 
  24.  
  25. OBJ = $(NAME).obj 
  26.  
  27. .c.obj:
  28.     $(CC) $*.c
  29.  
  30. .asm.obj:
  31.     $(ASM) $*;
  32.  
  33. goal: $(NAME).sym $(NAME).exe
  34.  
  35. $(NAME).exe $(NAME).map: $(OBJ) $(NAME).res $(NAME).def  
  36.     $(LINK) $(OBJ), $(NAME), $(NAME), $(LIBS), $(NAME).def
  37.     rc $(NAME).res
  38.     cvpack $(NAME).exe
  39.  
  40. $(NAME).res: $(NAME).rc $(NAME).ico $(NAME).h  
  41.     rc -r $(NAME).rc
  42.  
  43. $(NAME).sym: $(NAME).map $(NAME).exe
  44.     mapsym $(NAME).map
  45.  
  46. clean:
  47.     del *.exe
  48.     del *.res
  49.     del *.obj
  50.     del *.map
  51.     del *.sym
  52.  
  53. copy:
  54.     copy $(NAME).exe ..\bin
  55.     copy $(NAME).sym ..\bin
  56.  
  57. $(NAME).obj : $(NAME).c $(NAME).h
  58.  
  59.  
  60.